package com.mbc.rmt.dao;

import java.sql.SQLException;
import java.util.ArrayList;

import com.mbc.rmt.entities.CashRemittanceByAgentDetails;

public interface CashRemittanceByAgentArchiveDetailDAO {
	
	public void create(CashRemittanceByAgentDetails entity)throws SQLException;
	public void update(CashRemittanceByAgentDetails entity)throws SQLException;
	public void delete(long key)throws SQLException;
	public void deleteByReceiptId(long ReceiptId)throws SQLException;
	public ArrayList<CashRemittanceByAgentDetails> findCRByAgentDetails(long ReceiptId) throws SQLException;
	public ArrayList<CashRemittanceByAgentDetails> findCRByAgentDetailsArchive(long ReceiptId) throws SQLException;

}
